home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / look.man < prev    next >
Encoding:
Text File  |  1989-01-17  |  930 b   |  67 lines

  1.  
  2.  
  3.  
  4. LOOK                      User Commands                      LOOK
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      look - find lines in a sorted list
  10.  
  11. SSYYNNOOPPSSIISS
  12.      llooookk [ --ddff ] string [ file ]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      _L_o_o_k consults a sorted _f_i_l_e and prints all lines that begin
  16.      with _s_t_r_i_n_g.  It uses binary search.
  17.  
  18.      The options dd and ff affect comparisons as in _s_o_r_t(1):
  19.  
  20.      dd   `Dictionary' order: only letters, digits, tabs and
  21.          blanks participate in comparisons.
  22.  
  23.      ff   Fold.  Upper case letters compare equal to lower case.
  24.  
  25.      If no _f_i_l_e is specified, /_u_s_r/_d_i_c_t/_w_o_r_d_s is assumed with
  26.      collating sequence --ddff..
  27.  
  28. FFIILLEESS
  29.      /usr/dict/words
  30.  
  31. SSEEEE AALLSSOO
  32.      sort(1), grep(1)
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0              April 29, 1985                         1
  64.  
  65.  
  66.  
  67.